// import axios from '@/axios/service'
import axios from "../../axios/localhostAxios";



export function connectionMysql(params) {
    console.log(axios)
    return axios({
        url: '/connection/connectionMysql',
        method: 'get',
        params:params
    })
}

export function newConnection(params) {
    console.log(axios)
    return axios({
        url: '/connection/new',
        method: 'get',
        params:params
    })
}



export function listDatabases() {
    return axios({
        url: '/connection/listDatabases',
        method: 'get'
    })
}
